package com.literature.threeGroup.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CoverExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CoverExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCoverNameIsNull() {
            addCriterion("cover_name is null");
            return (Criteria) this;
        }

        public Criteria andCoverNameIsNotNull() {
            addCriterion("cover_name is not null");
            return (Criteria) this;
        }

        public Criteria andCoverNameEqualTo(String value) {
            addCriterion("cover_name =", value, "coverName");
            return (Criteria) this;
        }

        public Criteria andCoverNameNotEqualTo(String value) {
            addCriterion("cover_name <>", value, "coverName");
            return (Criteria) this;
        }

        public Criteria andCoverNameGreaterThan(String value) {
            addCriterion("cover_name >", value, "coverName");
            return (Criteria) this;
        }

        public Criteria andCoverNameGreaterThanOrEqualTo(String value) {
            addCriterion("cover_name >=", value, "coverName");
            return (Criteria) this;
        }

        public Criteria andCoverNameLessThan(String value) {
            addCriterion("cover_name <", value, "coverName");
            return (Criteria) this;
        }

        public Criteria andCoverNameLessThanOrEqualTo(String value) {
            addCriterion("cover_name <=", value, "coverName");
            return (Criteria) this;
        }

        public Criteria andCoverNameLike(String value) {
            addCriterion("cover_name like", value, "coverName");
            return (Criteria) this;
        }

        public Criteria andCoverNameNotLike(String value) {
            addCriterion("cover_name not like", value, "coverName");
            return (Criteria) this;
        }

        public Criteria andCoverNameIn(List<String> values) {
            addCriterion("cover_name in", values, "coverName");
            return (Criteria) this;
        }

        public Criteria andCoverNameNotIn(List<String> values) {
            addCriterion("cover_name not in", values, "coverName");
            return (Criteria) this;
        }

        public Criteria andCoverNameBetween(String value1, String value2) {
            addCriterion("cover_name between", value1, value2, "coverName");
            return (Criteria) this;
        }

        public Criteria andCoverNameNotBetween(String value1, String value2) {
            addCriterion("cover_name not between", value1, value2, "coverName");
            return (Criteria) this;
        }

        public Criteria andPlssnIsNull() {
            addCriterion("PLSSN is null");
            return (Criteria) this;
        }

        public Criteria andPlssnIsNotNull() {
            addCriterion("PLSSN is not null");
            return (Criteria) this;
        }

        public Criteria andPlssnEqualTo(String value) {
            addCriterion("PLSSN =", value, "plssn");
            return (Criteria) this;
        }

        public Criteria andPlssnNotEqualTo(String value) {
            addCriterion("PLSSN <>", value, "plssn");
            return (Criteria) this;
        }

        public Criteria andPlssnGreaterThan(String value) {
            addCriterion("PLSSN >", value, "plssn");
            return (Criteria) this;
        }

        public Criteria andPlssnGreaterThanOrEqualTo(String value) {
            addCriterion("PLSSN >=", value, "plssn");
            return (Criteria) this;
        }

        public Criteria andPlssnLessThan(String value) {
            addCriterion("PLSSN <", value, "plssn");
            return (Criteria) this;
        }

        public Criteria andPlssnLessThanOrEqualTo(String value) {
            addCriterion("PLSSN <=", value, "plssn");
            return (Criteria) this;
        }

        public Criteria andPlssnLike(String value) {
            addCriterion("PLSSN like", value, "plssn");
            return (Criteria) this;
        }

        public Criteria andPlssnNotLike(String value) {
            addCriterion("PLSSN not like", value, "plssn");
            return (Criteria) this;
        }

        public Criteria andPlssnIn(List<String> values) {
            addCriterion("PLSSN in", values, "plssn");
            return (Criteria) this;
        }

        public Criteria andPlssnNotIn(List<String> values) {
            addCriterion("PLSSN not in", values, "plssn");
            return (Criteria) this;
        }

        public Criteria andPlssnBetween(String value1, String value2) {
            addCriterion("PLSSN between", value1, value2, "plssn");
            return (Criteria) this;
        }

        public Criteria andPlssnNotBetween(String value1, String value2) {
            addCriterion("PLSSN not between", value1, value2, "plssn");
            return (Criteria) this;
        }

        public Criteria andPisbnIsNull() {
            addCriterion("PISBN is null");
            return (Criteria) this;
        }

        public Criteria andPisbnIsNotNull() {
            addCriterion("PISBN is not null");
            return (Criteria) this;
        }

        public Criteria andPisbnEqualTo(String value) {
            addCriterion("PISBN =", value, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnNotEqualTo(String value) {
            addCriterion("PISBN <>", value, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnGreaterThan(String value) {
            addCriterion("PISBN >", value, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnGreaterThanOrEqualTo(String value) {
            addCriterion("PISBN >=", value, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnLessThan(String value) {
            addCriterion("PISBN <", value, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnLessThanOrEqualTo(String value) {
            addCriterion("PISBN <=", value, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnLike(String value) {
            addCriterion("PISBN like", value, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnNotLike(String value) {
            addCriterion("PISBN not like", value, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnIn(List<String> values) {
            addCriterion("PISBN in", values, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnNotIn(List<String> values) {
            addCriterion("PISBN not in", values, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnBetween(String value1, String value2) {
            addCriterion("PISBN between", value1, value2, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPisbnNotBetween(String value1, String value2) {
            addCriterion("PISBN not between", value1, value2, "pisbn");
            return (Criteria) this;
        }

        public Criteria andPublishnameIsNull() {
            addCriterion("publishname is null");
            return (Criteria) this;
        }

        public Criteria andPublishnameIsNotNull() {
            addCriterion("publishname is not null");
            return (Criteria) this;
        }

        public Criteria andPublishnameEqualTo(String value) {
            addCriterion("publishname =", value, "publishname");
            return (Criteria) this;
        }

        public Criteria andPublishnameNotEqualTo(String value) {
            addCriterion("publishname <>", value, "publishname");
            return (Criteria) this;
        }

        public Criteria andPublishnameGreaterThan(String value) {
            addCriterion("publishname >", value, "publishname");
            return (Criteria) this;
        }

        public Criteria andPublishnameGreaterThanOrEqualTo(String value) {
            addCriterion("publishname >=", value, "publishname");
            return (Criteria) this;
        }

        public Criteria andPublishnameLessThan(String value) {
            addCriterion("publishname <", value, "publishname");
            return (Criteria) this;
        }

        public Criteria andPublishnameLessThanOrEqualTo(String value) {
            addCriterion("publishname <=", value, "publishname");
            return (Criteria) this;
        }

        public Criteria andPublishnameLike(String value) {
            addCriterion("publishname like", value, "publishname");
            return (Criteria) this;
        }

        public Criteria andPublishnameNotLike(String value) {
            addCriterion("publishname not like", value, "publishname");
            return (Criteria) this;
        }

        public Criteria andPublishnameIn(List<String> values) {
            addCriterion("publishname in", values, "publishname");
            return (Criteria) this;
        }

        public Criteria andPublishnameNotIn(List<String> values) {
            addCriterion("publishname not in", values, "publishname");
            return (Criteria) this;
        }

        public Criteria andPublishnameBetween(String value1, String value2) {
            addCriterion("publishname between", value1, value2, "publishname");
            return (Criteria) this;
        }

        public Criteria andPublishnameNotBetween(String value1, String value2) {
            addCriterion("publishname not between", value1, value2, "publishname");
            return (Criteria) this;
        }

        public Criteria andSubjectIdIsNull() {
            addCriterion("subject_id is null");
            return (Criteria) this;
        }

        public Criteria andSubjectIdIsNotNull() {
            addCriterion("subject_id is not null");
            return (Criteria) this;
        }

        public Criteria andSubjectIdEqualTo(String value) {
            addCriterion("subject_id =", value, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectIdNotEqualTo(String value) {
            addCriterion("subject_id <>", value, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectIdGreaterThan(String value) {
            addCriterion("subject_id >", value, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectIdGreaterThanOrEqualTo(String value) {
            addCriterion("subject_id >=", value, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectIdLessThan(String value) {
            addCriterion("subject_id <", value, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectIdLessThanOrEqualTo(String value) {
            addCriterion("subject_id <=", value, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectIdLike(String value) {
            addCriterion("subject_id like", value, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectIdNotLike(String value) {
            addCriterion("subject_id not like", value, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectIdIn(List<String> values) {
            addCriterion("subject_id in", values, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectIdNotIn(List<String> values) {
            addCriterion("subject_id not in", values, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectIdBetween(String value1, String value2) {
            addCriterion("subject_id between", value1, value2, "subjectId");
            return (Criteria) this;
        }

        public Criteria andSubjectIdNotBetween(String value1, String value2) {
            addCriterion("subject_id not between", value1, value2, "subjectId");
            return (Criteria) this;
        }

        public Criteria andCountryIdIsNull() {
            addCriterion("country_id is null");
            return (Criteria) this;
        }

        public Criteria andCountryIdIsNotNull() {
            addCriterion("country_id is not null");
            return (Criteria) this;
        }

        public Criteria andCountryIdEqualTo(String value) {
            addCriterion("country_id =", value, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdNotEqualTo(String value) {
            addCriterion("country_id <>", value, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdGreaterThan(String value) {
            addCriterion("country_id >", value, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdGreaterThanOrEqualTo(String value) {
            addCriterion("country_id >=", value, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdLessThan(String value) {
            addCriterion("country_id <", value, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdLessThanOrEqualTo(String value) {
            addCriterion("country_id <=", value, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdLike(String value) {
            addCriterion("country_id like", value, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdNotLike(String value) {
            addCriterion("country_id not like", value, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdIn(List<String> values) {
            addCriterion("country_id in", values, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdNotIn(List<String> values) {
            addCriterion("country_id not in", values, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdBetween(String value1, String value2) {
            addCriterion("country_id between", value1, value2, "countryId");
            return (Criteria) this;
        }

        public Criteria andCountryIdNotBetween(String value1, String value2) {
            addCriterion("country_id not between", value1, value2, "countryId");
            return (Criteria) this;
        }

        public Criteria andCoverNumberIsNull() {
            addCriterion("cover_number is null");
            return (Criteria) this;
        }

        public Criteria andCoverNumberIsNotNull() {
            addCriterion("cover_number is not null");
            return (Criteria) this;
        }

        public Criteria andCoverNumberEqualTo(String value) {
            addCriterion("cover_number =", value, "coverNumber");
            return (Criteria) this;
        }

        public Criteria andCoverNumberNotEqualTo(String value) {
            addCriterion("cover_number <>", value, "coverNumber");
            return (Criteria) this;
        }

        public Criteria andCoverNumberGreaterThan(String value) {
            addCriterion("cover_number >", value, "coverNumber");
            return (Criteria) this;
        }

        public Criteria andCoverNumberGreaterThanOrEqualTo(String value) {
            addCriterion("cover_number >=", value, "coverNumber");
            return (Criteria) this;
        }

        public Criteria andCoverNumberLessThan(String value) {
            addCriterion("cover_number <", value, "coverNumber");
            return (Criteria) this;
        }

        public Criteria andCoverNumberLessThanOrEqualTo(String value) {
            addCriterion("cover_number <=", value, "coverNumber");
            return (Criteria) this;
        }

        public Criteria andCoverNumberLike(String value) {
            addCriterion("cover_number like", value, "coverNumber");
            return (Criteria) this;
        }

        public Criteria andCoverNumberNotLike(String value) {
            addCriterion("cover_number not like", value, "coverNumber");
            return (Criteria) this;
        }

        public Criteria andCoverNumberIn(List<String> values) {
            addCriterion("cover_number in", values, "coverNumber");
            return (Criteria) this;
        }

        public Criteria andCoverNumberNotIn(List<String> values) {
            addCriterion("cover_number not in", values, "coverNumber");
            return (Criteria) this;
        }

        public Criteria andCoverNumberBetween(String value1, String value2) {
            addCriterion("cover_number between", value1, value2, "coverNumber");
            return (Criteria) this;
        }

        public Criteria andCoverNumberNotBetween(String value1, String value2) {
            addCriterion("cover_number not between", value1, value2, "coverNumber");
            return (Criteria) this;
        }

        public Criteria andEissnIsNull() {
            addCriterion("EISSN is null");
            return (Criteria) this;
        }

        public Criteria andEissnIsNotNull() {
            addCriterion("EISSN is not null");
            return (Criteria) this;
        }

        public Criteria andEissnEqualTo(String value) {
            addCriterion("EISSN =", value, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnNotEqualTo(String value) {
            addCriterion("EISSN <>", value, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnGreaterThan(String value) {
            addCriterion("EISSN >", value, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnGreaterThanOrEqualTo(String value) {
            addCriterion("EISSN >=", value, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnLessThan(String value) {
            addCriterion("EISSN <", value, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnLessThanOrEqualTo(String value) {
            addCriterion("EISSN <=", value, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnLike(String value) {
            addCriterion("EISSN like", value, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnNotLike(String value) {
            addCriterion("EISSN not like", value, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnIn(List<String> values) {
            addCriterion("EISSN in", values, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnNotIn(List<String> values) {
            addCriterion("EISSN not in", values, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnBetween(String value1, String value2) {
            addCriterion("EISSN between", value1, value2, "eissn");
            return (Criteria) this;
        }

        public Criteria andEissnNotBetween(String value1, String value2) {
            addCriterion("EISSN not between", value1, value2, "eissn");
            return (Criteria) this;
        }

        public Criteria andElsbnIsNull() {
            addCriterion("ELSBN is null");
            return (Criteria) this;
        }

        public Criteria andElsbnIsNotNull() {
            addCriterion("ELSBN is not null");
            return (Criteria) this;
        }

        public Criteria andElsbnEqualTo(String value) {
            addCriterion("ELSBN =", value, "elsbn");
            return (Criteria) this;
        }

        public Criteria andElsbnNotEqualTo(String value) {
            addCriterion("ELSBN <>", value, "elsbn");
            return (Criteria) this;
        }

        public Criteria andElsbnGreaterThan(String value) {
            addCriterion("ELSBN >", value, "elsbn");
            return (Criteria) this;
        }

        public Criteria andElsbnGreaterThanOrEqualTo(String value) {
            addCriterion("ELSBN >=", value, "elsbn");
            return (Criteria) this;
        }

        public Criteria andElsbnLessThan(String value) {
            addCriterion("ELSBN <", value, "elsbn");
            return (Criteria) this;
        }

        public Criteria andElsbnLessThanOrEqualTo(String value) {
            addCriterion("ELSBN <=", value, "elsbn");
            return (Criteria) this;
        }

        public Criteria andElsbnLike(String value) {
            addCriterion("ELSBN like", value, "elsbn");
            return (Criteria) this;
        }

        public Criteria andElsbnNotLike(String value) {
            addCriterion("ELSBN not like", value, "elsbn");
            return (Criteria) this;
        }

        public Criteria andElsbnIn(List<String> values) {
            addCriterion("ELSBN in", values, "elsbn");
            return (Criteria) this;
        }

        public Criteria andElsbnNotIn(List<String> values) {
            addCriterion("ELSBN not in", values, "elsbn");
            return (Criteria) this;
        }

        public Criteria andElsbnBetween(String value1, String value2) {
            addCriterion("ELSBN between", value1, value2, "elsbn");
            return (Criteria) this;
        }

        public Criteria andElsbnNotBetween(String value1, String value2) {
            addCriterion("ELSBN not between", value1, value2, "elsbn");
            return (Criteria) this;
        }

        public Criteria andLiteratureTypeIdIsNull() {
            addCriterion("literature_type_id is null");
            return (Criteria) this;
        }

        public Criteria andLiteratureTypeIdIsNotNull() {
            addCriterion("literature_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andLiteratureTypeIdEqualTo(String value) {
            addCriterion("literature_type_id =", value, "literatureTypeId");
            return (Criteria) this;
        }

        public Criteria andLiteratureTypeIdNotEqualTo(String value) {
            addCriterion("literature_type_id <>", value, "literatureTypeId");
            return (Criteria) this;
        }

        public Criteria andLiteratureTypeIdGreaterThan(String value) {
            addCriterion("literature_type_id >", value, "literatureTypeId");
            return (Criteria) this;
        }

        public Criteria andLiteratureTypeIdGreaterThanOrEqualTo(String value) {
            addCriterion("literature_type_id >=", value, "literatureTypeId");
            return (Criteria) this;
        }

        public Criteria andLiteratureTypeIdLessThan(String value) {
            addCriterion("literature_type_id <", value, "literatureTypeId");
            return (Criteria) this;
        }

        public Criteria andLiteratureTypeIdLessThanOrEqualTo(String value) {
            addCriterion("literature_type_id <=", value, "literatureTypeId");
            return (Criteria) this;
        }

        public Criteria andLiteratureTypeIdLike(String value) {
            addCriterion("literature_type_id like", value, "literatureTypeId");
            return (Criteria) this;
        }

        public Criteria andLiteratureTypeIdNotLike(String value) {
            addCriterion("literature_type_id not like", value, "literatureTypeId");
            return (Criteria) this;
        }

        public Criteria andLiteratureTypeIdIn(List<String> values) {
            addCriterion("literature_type_id in", values, "literatureTypeId");
            return (Criteria) this;
        }

        public Criteria andLiteratureTypeIdNotIn(List<String> values) {
            addCriterion("literature_type_id not in", values, "literatureTypeId");
            return (Criteria) this;
        }

        public Criteria andLiteratureTypeIdBetween(String value1, String value2) {
            addCriterion("literature_type_id between", value1, value2, "literatureTypeId");
            return (Criteria) this;
        }

        public Criteria andLiteratureTypeIdNotBetween(String value1, String value2) {
            addCriterion("literature_type_id not between", value1, value2, "literatureTypeId");
            return (Criteria) this;
        }

        public Criteria andClassidIsNull() {
            addCriterion("classid is null");
            return (Criteria) this;
        }

        public Criteria andClassidIsNotNull() {
            addCriterion("classid is not null");
            return (Criteria) this;
        }

        public Criteria andClassidEqualTo(String value) {
            addCriterion("classid =", value, "classid");
            return (Criteria) this;
        }

        public Criteria andClassidNotEqualTo(String value) {
            addCriterion("classid <>", value, "classid");
            return (Criteria) this;
        }

        public Criteria andClassidGreaterThan(String value) {
            addCriterion("classid >", value, "classid");
            return (Criteria) this;
        }

        public Criteria andClassidGreaterThanOrEqualTo(String value) {
            addCriterion("classid >=", value, "classid");
            return (Criteria) this;
        }

        public Criteria andClassidLessThan(String value) {
            addCriterion("classid <", value, "classid");
            return (Criteria) this;
        }

        public Criteria andClassidLessThanOrEqualTo(String value) {
            addCriterion("classid <=", value, "classid");
            return (Criteria) this;
        }

        public Criteria andClassidLike(String value) {
            addCriterion("classid like", value, "classid");
            return (Criteria) this;
        }

        public Criteria andClassidNotLike(String value) {
            addCriterion("classid not like", value, "classid");
            return (Criteria) this;
        }

        public Criteria andClassidIn(List<String> values) {
            addCriterion("classid in", values, "classid");
            return (Criteria) this;
        }

        public Criteria andClassidNotIn(List<String> values) {
            addCriterion("classid not in", values, "classid");
            return (Criteria) this;
        }

        public Criteria andClassidBetween(String value1, String value2) {
            addCriterion("classid between", value1, value2, "classid");
            return (Criteria) this;
        }

        public Criteria andClassidNotBetween(String value1, String value2) {
            addCriterion("classid not between", value1, value2, "classid");
            return (Criteria) this;
        }

        public Criteria andLanguageIdIsNull() {
            addCriterion("language_id is null");
            return (Criteria) this;
        }

        public Criteria andLanguageIdIsNotNull() {
            addCriterion("language_id is not null");
            return (Criteria) this;
        }

        public Criteria andLanguageIdEqualTo(String value) {
            addCriterion("language_id =", value, "languageId");
            return (Criteria) this;
        }

        public Criteria andLanguageIdNotEqualTo(String value) {
            addCriterion("language_id <>", value, "languageId");
            return (Criteria) this;
        }

        public Criteria andLanguageIdGreaterThan(String value) {
            addCriterion("language_id >", value, "languageId");
            return (Criteria) this;
        }

        public Criteria andLanguageIdGreaterThanOrEqualTo(String value) {
            addCriterion("language_id >=", value, "languageId");
            return (Criteria) this;
        }

        public Criteria andLanguageIdLessThan(String value) {
            addCriterion("language_id <", value, "languageId");
            return (Criteria) this;
        }

        public Criteria andLanguageIdLessThanOrEqualTo(String value) {
            addCriterion("language_id <=", value, "languageId");
            return (Criteria) this;
        }

        public Criteria andLanguageIdLike(String value) {
            addCriterion("language_id like", value, "languageId");
            return (Criteria) this;
        }

        public Criteria andLanguageIdNotLike(String value) {
            addCriterion("language_id not like", value, "languageId");
            return (Criteria) this;
        }

        public Criteria andLanguageIdIn(List<String> values) {
            addCriterion("language_id in", values, "languageId");
            return (Criteria) this;
        }

        public Criteria andLanguageIdNotIn(List<String> values) {
            addCriterion("language_id not in", values, "languageId");
            return (Criteria) this;
        }

        public Criteria andLanguageIdBetween(String value1, String value2) {
            addCriterion("language_id between", value1, value2, "languageId");
            return (Criteria) this;
        }

        public Criteria andLanguageIdNotBetween(String value1, String value2) {
            addCriterion("language_id not between", value1, value2, "languageId");
            return (Criteria) this;
        }

        public Criteria andCmorphologyIdIsNull() {
            addCriterion("cmorphology_id is null");
            return (Criteria) this;
        }

        public Criteria andCmorphologyIdIsNotNull() {
            addCriterion("cmorphology_id is not null");
            return (Criteria) this;
        }

        public Criteria andCmorphologyIdEqualTo(String value) {
            addCriterion("cmorphology_id =", value, "cmorphologyId");
            return (Criteria) this;
        }

        public Criteria andCmorphologyIdNotEqualTo(String value) {
            addCriterion("cmorphology_id <>", value, "cmorphologyId");
            return (Criteria) this;
        }

        public Criteria andCmorphologyIdGreaterThan(String value) {
            addCriterion("cmorphology_id >", value, "cmorphologyId");
            return (Criteria) this;
        }

        public Criteria andCmorphologyIdGreaterThanOrEqualTo(String value) {
            addCriterion("cmorphology_id >=", value, "cmorphologyId");
            return (Criteria) this;
        }

        public Criteria andCmorphologyIdLessThan(String value) {
            addCriterion("cmorphology_id <", value, "cmorphologyId");
            return (Criteria) this;
        }

        public Criteria andCmorphologyIdLessThanOrEqualTo(String value) {
            addCriterion("cmorphology_id <=", value, "cmorphologyId");
            return (Criteria) this;
        }

        public Criteria andCmorphologyIdLike(String value) {
            addCriterion("cmorphology_id like", value, "cmorphologyId");
            return (Criteria) this;
        }

        public Criteria andCmorphologyIdNotLike(String value) {
            addCriterion("cmorphology_id not like", value, "cmorphologyId");
            return (Criteria) this;
        }

        public Criteria andCmorphologyIdIn(List<String> values) {
            addCriterion("cmorphology_id in", values, "cmorphologyId");
            return (Criteria) this;
        }

        public Criteria andCmorphologyIdNotIn(List<String> values) {
            addCriterion("cmorphology_id not in", values, "cmorphologyId");
            return (Criteria) this;
        }

        public Criteria andCmorphologyIdBetween(String value1, String value2) {
            addCriterion("cmorphology_id between", value1, value2, "cmorphologyId");
            return (Criteria) this;
        }

        public Criteria andCmorphologyIdNotBetween(String value1, String value2) {
            addCriterion("cmorphology_id not between", value1, value2, "cmorphologyId");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}